'use strict'
const path = require('path')
function resolve (dir) {
  return path.join(__dirname, dir)
}
module.exports = {
  configureWebpack: {
    entry: '@/main.js',
    resolve: {
      extensions: ['.js', '.vue', '.json'],
      alias: {
        'vue$': 'vue/dist/vue.esm.js',
        // '@': resolve('src'),
        'img': resolve('src/assets/images'),
        'style': resolve('src/assets/style'),
      }
    },
  }
}